﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PCBase.UIControls;

namespace VisionCore
{
    public class PRM_LifeTime
    {
        [Category("夹爪监控"), DisplayName("01.夹爪使用寿命监控"), Description("")]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public PRM_LifeTime_Clamp Clamp { get; set; } = new PRM_LifeTime_Clamp();
        public override string ToString()
        {
            return "...";
        }
    }

    public class PRM_LifeTime_Clamp
    {
        [Category("夹爪监控"), DisplayName("00.监控次数设定(次)"), Description("")]
        public long MonitorValue { get; set; } = 10000;
        [Category("力控监控"), DisplayName("01.检测模组1—Z轴力控已使用次数(次)"), Description("")]
        public long Insp1_RM_Z_UsedCount { get; set; } = 0;
        [Category("力控监控"), DisplayName("01.检测模组2—Z轴力控已使用次数(次)"), Description("")]
        public long Insp2_RM_Z_UsedCount { get; set; } = 0;
        [Category("力控监控"), DisplayName("01.检测模组3—Z轴力控已使用次数(次)"), Description("")]
        public long Insp3_RM_Z_UsedCount { get; set; } = 0;
        [Category("力控监控"), DisplayName("01.检测模组4—Z轴力控已使用次数(次)"), Description("")]
        public long Insp4_RM_Z_UsedCount { get; set; } = 0;


        [Category("夹爪监控"), DisplayName("01.载入夹爪1已使用次数(次)"), Description("")]
        public long LDTR1 { get; set; } = 0;

        [Category("夹爪监控"), DisplayName("02.载入夹爪2已使用次数(次)"), Description("")]
        public long LDTR2 { get; set; } = 0;

        [Category("夹爪监控"), DisplayName("03.载出夹爪1已使用次数(次)"), Description("")]
        public long ULDTR1 { get; set; } = 0;

        [Category("夹爪监控"), DisplayName("04.载出夹爪2已使用次数(次)"), Description("")]
        public long ULDTR2 { get; set; } = 0;
        public override string ToString()
        {
            return "...";
        }
    }
}
